//
//  ParkingSpaceButton.m
//  KuWeiPark
//
//  Created by Kevin Su on 15/5/7.
//  Copyright (c) 2015年 Clief. All rights reserved.
//

#import "ParkingSpaceButton.h"

@implementation ParkingSpaceButton

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (id)initWithFrame:(CGRect)frame{
    
    self = [super initWithFrame:frame];
    
    if(self){
        
        self.titleLabel.textAlignment = NSTextAlignmentCenter;
        self.titleLabel.font = [UIFont systemFontOfSize:23];
        [self setTitleColor:[UIColor lightGrayColor] forState:UIControlStateNormal];
        [self setTitleColor:[UIColor lightGrayColor] forState:UIControlStateSelected];
    }
    
    return self;
}

@end
